// JavaScript Document
$(document).ready(function(){ 
		
	//JS Menu LEft (show/hide categories/menu when click)
	 $('.btnMenu').addClass("btnActive");	
		$('.ulCate').hide();
		$('.ulMenu').show();
		
		$('.btnMenu').click(function(){
			$(this).addClass("btnActive");
			$('.btnCate').removeClass("btnActive");	    	
			$('.ulCate').hide();
			$('.ulMenu').show();
		});
		
	    $('.btnCate').click(function(){
	    	$(this).addClass("btnActive");
	    	$('.btnMenu').removeClass("btnActive");    	
			$('.ulCate').show();
			$('.ulMenu').hide();
		});

	//JS Icon Social (show/hide list icon when click)
	   $(".list-icon-social").hide();     
        $('.bntFowllow').click(function(){
        	$(".list-icon-social").slideToggle();
        });
	  
	//JS Joom Detail
		$('.jqzoom').jqzoom({
	            zoomType: 'innerzoom',
	            preloadImages: false,
	            alwaysOn:false
	        }); 

		//JS Joom get val popup
		$('.btnZoom').click(function(){ 
            var img_href = $('#imgmax').attr('href'); 
            $('.btnZoom').attr('href', img_href);
        });

	//JS for checkout page (col-right-checkout)...
 		$(".inner-lb").hide();  
        $('.lb1,.lb3').click(function(){
          $(".inner-lb").hide();
        });   
        $('.lbUden').click(function(){
          $(".inner-lb").show();
        });

	// JS for Checkout page (col-left-checkout)  ...
 		$(".w-another-add").hide();     
        $('.bnt-another-add').click(function(){
        	$(".w-another-add").slideToggle();
        });

	//JS for Gavekort page...
        $(".other_amount_area").hide();  
        $('.ipValue').click(function(){
          $(".other_amount_area").hide();
        });   
        $('.ipEnterValue').click(function(){
          $(".other_amount_area").show();
        }); 

     // JS fixed tooltip  
		    $('a.fixedTip').aToolTip({  
		        fixed: true  
		    });  	        
		      
	    // List of all parameters and their default values:  
	    $('a.hastool').aToolTip({  
	        // no need to change/override  
	        closeTipBtn: 'aToolTipCloseBtn',  
	        toolTipId: 'aToolTip',  
	        // ok to override  
	        fixed: false,                   // Set true to activate fixed position  
	        clickIt: false,                 // set to true for click activated tooltip  
	        inSpeed: 200,                   // Speed tooltip fades in  
	        outSpeed: 100,                  // Speed tooltip fades out  
	        tipContent: '',                 // Pass in content or it will use objects 'title' attribute  
	        toolTipClass: 'defaultTheme',   // Set class name for custom theme/styles  
	        xOffset: 5,                     // x position  
	        yOffset: 5,                     // y position  
	        onShow: null,                   // callback function that fires after atooltip has shown  
	        onHide: null                    // callback function that fires after atooltip has faded out      
	    });     

	// JavaScript ....
	// JavaScript ....

 });